<template>
	<view class="flv-container">
		456456456
    <image src="../../assets/image/success.svg" mode=""></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				// url: 'https://rtmp01open.ys7.com:9188/v3/openlive/K16128306_1_1.flv?expire=1668482485&id=512225539549827072&t=b5f3b7e2642baed453eb14d47ef136503bc3e1973b19fa56bc199bcbaa0bd53a&ev=100',
				config: {
					playsinline: false,
					videoInit: false,
					autoplay: true,
					ignores: ['time', 'definition', 'progress', 'volume']
				}
			}
		},
		mounted() {
			// this.initFlv()
		},
		methods: {
			initFlv() {
				let _self = this
				_self.$set(_self.config, 'el', document.querySelector('#flv'))
				_self.$set(_self.config, 'url', _self.url)
				_self.$set(_self.config, 'height', _self.height)
				_self.$set(_self.config, 'width', _self.width)
				let player = new FlvJsPlayer(_self.config)
			},
		}
	}
</script>

<style lang="scss" scoped>
	.flv-container{
		
	}
</style>
